﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="CreditScore.aspx.cs" Inherits="Wicresoft.RDW.Report.CreditScore" %>

<%@ Register Src="../UserControls/PagerControl.ascx" TagName="PagerControl" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="main_title">
        <h2>
            <%=Resources.NameResource.CreditScore%></h2>
    </div>
    <div class="HistoryApplicationContent">
        <asp:GridView ID="GvCreditScore" runat="server" AutoGenerateColumns="false" DataKeyNames="DepId"
            AllowPaging="true" Width="100%" HeaderStyle-CssClass="dcTableHeader" RowStyle-CssClass="dcTableAlternatingItem"
            AlternatingRowStyle-CssClass="dcTableItem" 
            onrowdatabound="GvCreditScore_RowDataBound">
            <Columns>
                <asp:BoundField ItemStyle-Width="100" />
                <asp:TemplateField ShowHeader="true" ItemStyle-Width="480">
                    <ItemTemplate>
                        <%#Eval("Name_CN")%>/<%#Eval("Name_EN")%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField ItemStyle-Width="240" DataField="Code" />
                <asp:BoundField ItemStyle-Width="120" DataField="CreditScore" />
            </Columns>
            <EmptyDataTemplate>
                <table>
                    <tr class="dcTableHeader">
                        <th width="100">
                            <%=Resources.ManageResource.mgr_lblNo%>
                        </th>
                        <th width="480">
                            <%=Resources.ManageResource.mgr_lblDept%>
                        </th>
                        <th width="240">
                            <%=Resources.ManageResource.mgr_lblPlatform%>
                        </th>
                        <th width="120">
                            <%=Resources.ManageResource.mgr_lblCreditScore%>
                        </th>
                    </tr>
                </table>
            </EmptyDataTemplate>
        </asp:GridView>
    </div>
    <uc1:PagerControl ID="PagerControll" runat="server" />
</asp:Content>
